﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xrm.Sdk.Discovery;

namespace Crm2011EventBinder
{
    public class OrganizationDetailContainer
    {

        public OrganizationDetailContainer(OrganizationDetail org)
        {
            Organization = org;
        }

        public OrganizationDetail Organization { get; set; }

        public override string ToString()
        {
            return Organization.FriendlyName + " (" + Organization.UniqueName + ")";
        }
    }
}
